home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group00b.txt
/
000091_icon-group-sender_Mon Oct 23 16:56:18 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2001-01-03
|
1KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id e9NNtnY04985
for icon-group-addresses; Mon, 23 Oct 2000 16:55:49 -0700 (MST)
Message-Id: <200010232355.e9NNtnY04985@baskerville.CS.Arizona.EDU>
From: Chris.D.Tenaglia@jci.com
Subject: Re: Icon beginner
To: kaurp@cs.ucdavis.edu
Cc: icon-group@cs.arizona.edu
Date: Mon, 23 Oct 2000 14:59:49 -0500
X-MIMETrack: Serialize by Router on jwimkrs1.na.jci.com/NA/Johnson_Controls(Release 5.0.4
|June 8, 2000) at 10/23/2000 03:20:17 PM
Errors-To: icon-group-errors@cs.arizona.edu
Status: RO
Content-Length: 642
I like simple things like...
procedure despace(str)
new := ""
every byte := !string do if byte ~== " " then new ||:= byte
return new
end
Chris Tenaglia, tech analyst, jci
kaurp@cs.ucdavis.edu on 10/23/2000 01:56:42 PM
To: icon-group@CS.Arizona.EDU
cc:
bcc:
Subject: Icon beginner
Hi,
I'm just learning icon and I'm stumped with a particular problem. I'm
suppose to delete all occurrences of a space from a sentence, i.e. "Hi
there" should become "Hithere". Any ideas of how I should approach this
problem. I tried using the built-in delete proc. but it wasn't working.
I'd appreciate any help, thanks!
-Cos